package mn.idax.exchange.otc.service.impl;

import mn.idax.exchange.otc.entity.JPushMessage;
import mn.idax.exchange.otc.entity.JPushMessageExample;
import mn.idax.exchange.otc.mapper.JPushMessageMapper;
import mn.idax.exchange.otc.service.JPushMessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

/**
 * @Author: jack_huang
 * @Date: 2019/2/28 18:06
 */
@Service
public class JPushMessageServiceImpl implements JPushMessageService {


    @Autowired
    private JPushMessageMapper jPushMessageMapper;

    @Override
    public List<JPushMessage> getJPushedMessages() {
        JPushMessageExample example = new JPushMessageExample();
        return jPushMessageMapper.selectByExample(example);
    }
}
